<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <link href="https://cdn.staticfile.org/font-awesome/4.4.0/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="https://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
    <link href="{{asset('admin/css/bootstrap.min.css')}}" rel="stylesheet">
    <link href="{{asset('admin/css/style.min.css')}}" rel="stylesheet">
    <link href="{{asset('admin/css/login.min.css')}}" rel="stylesheet">
</head>

<body class="signin">
<div class="signinpanel">
    <div class="row">
        <div class="col-sm-7">
            <div class="signin-info">
                <div class="logopanel m-b">
                    <h1>[ 集设网 ]</h1>
                </div>
                <div class="m-b"></div>
            </div>
        </div>
        <div class="col-sm-5">
            <form method="post" action="{{ url('/backend/login') }}">
                {{ csrf_field() }}
                <h4 class="no-margins">登录：</h4>

                <input type="text" name="name" class="form-control uname {{ $errors->has('name') ? ' has-error' : '' }}"
                       placeholder="用户名"/>
                @if ($errors->has('name'))
                    <span class="help-block">
                         <strong>{{ $errors->first('name') }}</strong>
                    </span>
                @endif
                <input type="password"  name="password" class="form-control pword m-b {{ $errors->has('password') ? ' has-error' : '' }}"
                       placeholder="密码"/>
                @if ($errors->has('password'))
                    <span class="help-block">
                                        <strong>{{ $errors->first('password') }}</strong>
                                    </span>
                @endif
                <button class="btn btn-success btn-block">登录</button>
            </form>
        </div>
    </div>
    <div class="signup-footer">
        <div class="pull-left">
            &copy; 2018 All Rights Reserved. 集设网
        </div>
    </div>
</div>

</body>
</html>